	package com.amumu.netctoss.dao;

import java.util.List;
import java.util.Map;

import com.amumu.netctoss.entity.Cost;

public interface CostDao {
	List<Cost> findAll()throws Exception;
	List<Cost> findAll(int page,int size)throws Exception;
	List<Cost> findOrderBy(int page,int size,String order,String seq)throws Exception;
	Cost findById(int id)throws Exception;
	Cost findByName(String name)throws Exception;
	void save(Cost cost)throws Exception;
	void start(int id)throws Exception;
	void delete(int id)throws Exception;
	void update(Cost cost)throws Exception;
	int getPageCount(int size)throws Exception;
	Map<String,Object> getStatusOptions()throws Exception;
}
